最佳答案
<!-- here is some comment --
^
|
what can be here apart from '>'?
XML seems not to like '--' inside comments. I read somewhere that '--' switchs some modes inside <! ... >
thing, but <!-- -- -- -->
(even number of --
s) seem to be invalid too. If it is some historic feature, what is "pro" part of it? ("contra" part is inability to have --
in comments).
What is the reason of complicating comment processing by not making just '-->' end of comment and allowing '--' inside?