YouTube says it will ban comments on videos featuring young minors, including cases where the videos are deemed to be “at risk” of attracting pedophiles’ attention.