public int comment_6() { using (XmlWriter w = CreateWriter()) { w.WriteStartElement("Root"); w.WriteComment("test --"); w.WriteEndElement(); } return CompareReader("<Root><!--test - - --></Root>") ? TEST_PASS : TEST_FAIL; } }