public void WriteCommentString(string text) {
Debug.Assert(this.xstate == XmlState.WithinComment, "WriteCommentString cannot be called in the " + this.xstate + " state.");
if (this.commentText.Length == 0)
this.commentText = text;
else
this.commentText += text;
}