You can put comments in the prolog, epilogue, and as content of an element.
Syntax:
[15] Comment ::= '<!--' ((Char - '-') | ('-' (Char - '-')))* '-->'
That is, a comment contains text except that '--' is not allowed.
Example:
<!-- Where or where did my content go? -->
Not allowed:
<!-- bad comment -- bad! -->