YouTube is trying to combat offensive comments that appear under videos by following in the footsteps of other social media companies and asking people before they post something that may be offensive: “Is this something you really want to share?”