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