Set DropCommentsOnParse if you're not interested in any comment nodes in your object model data. All comments encountered during parsing will simply be skipped and not added as a node with ElementType = xeComment (which is default). Note that when you set this option, you cannot later reconstruct an XML file with the comments back in place.