It's not a matter of comments, it's XML itself. XML only inherently knows about &
, <
, >
, '
and "
as well as the numeric entities. Anything else has to be declared explicitly.
See section 4.6 of the spec for further information.
Jon Skeet
2009-10-02 20:10:27