Msg#: 3276814 posted 6:31 pm on Mar 9, 2007 (gmt 0)
There's no direct way to do it, but you could use PHP or SSI to omit the content if the user-agent/IP address indicates a request from Googlebot, or even use mod_rewrite or ISAPI Rewrite to server a different page to the 'bot.
This describes a technical solution. Take care however, whether the search engines might consider what you intend to do as "cloaking with intent to deceive your visitors" or you risk being expelled from their indexes. Only your review of their Webmaster guidelines in the context of your page content and intent can determine whether this is the case.
Msg#: 3276814 posted 6:39 pm on Mar 9, 2007 (gmt 0)
But in this case I suspect you're overthinking the issue. It seems likely to me that the comments would tend to add a variety of related keywords that could make your site friendlier to long-tail searches.
If you do have a long paragraph of boilerplate on many pages, you probably can help yourself by addressing it in some way. Yes, Google indexes urls, not pages, and an iframe holds a different url. I've also seen the boilerplate text turned into an image to address this challenge.