The announcement said that comments had already been disabled on tens of millions of videos that could encourage predatory behaviour.
"Over the next few months, we will be broadening this action to suspend comments on videos featuring young minors and videos featuring older minors that could be at risk of attracting predatory behaviour," the company said in an unattributed blog post.
Following the reports of paedophiles stalking kids on YouTube, a number of well-known companies, such as AT&T, Nestle, Disney, Fortnite maker Epic Games and German food giant Dr August Oetker pulled their ads. This was more or less a repeat of what happened two years ago.
"This classifier does not affect the monetisation of your video. We accelerated its launch and now have a new comments classifier in place that is more sweeping in scope, and will detect and remove more individual comments," the company said.
Google has made similar pledges to clean up YouTube in the past but its efforts have not been very successful.
The New York Times ran a story in 2017, which began, "Over the years, Google trained computer systems to keep copyrighted content and pornography off its YouTube service." Those systems do not appear to be up to scratch if paedophiles are using YouTube to indulge themselves and exploit children.