boolean comment () [xpath]

Standard excerpt:

The node test comment() is true for any comment node.
Examples (xslt:xml): Overview
50:10

Interactive xlab: [xsl:value-of] [xsl:template]