Hi,
the key * for commenting out a selected code section also works for XML, which is great. But when there's already a comment in the selection then it is changed from "<!--" to "< ! --", which is invalid. The sequence "--" is not allowed in XML comments.
Using VAX build 2029 in VS 2010.
To reproduce, create an XML file:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<foo>
<!-- My comment -->
</foo>
</root>
Select the <foo> lines and comment them out:
<root>
<!--
<foo>
< ! -- My comment -- >
</foo>
-->
</root>
Suggestion: Instead of < ! -- ... -- >
use this: <!- - ... - ->