Exclude certain divs by class from being included in crawler

I use netlify to trigger crawlers for my deploys, but I’d like to exclude “related posts” from mucking up keyword searches. Is it possible to add a class or a tag to divs to disallow crawlers from collecting data from them? Thanks!