Check for comment nodes.
A CommentTest
is one of a number of node tests that are used
in a step expression. The expression comment()
is true for any
comment node.
Select all comment nodes in the current collection:
input()//comment()
The following construct(s) refer to this construct: