Comments Comments may appear anywhere in a document outside other markup. Comments cannot appear before the XML declaration. Comments begin with <!-- and end with -->. For compatibility with SGML, the string "--" (double-hyphen) is not allowed inside comments; Section "Comments" this means comments cannot be nested. The ampersand has no special significance within comments, so entity and character references are not recognized as such, and there is no way to represent characters outside the character set of the document encoding.
Comments Comments may appear anywhere in a document outside other markup. Comments cannot appear before the XML declaration. Comments begin with <!-- and end with -->. For compatibility with SGML the string "--" (double-hyphen) is not allowed inside comments; Section "Comments" this means comments cannot be nested The ampersand has no special significance within comments, so entity and character references are not recognized as such and there is no way to represent characters outside the character set of the document encoding.