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