public void WriteComment() { JTokenWriter writer = new JTokenWriter(); writer.WriteStartArray(); writer.WriteComment("fail"); writer.WriteEndArray(); Assert.AreEqual(@"[ /*fail*/]", writer.Token.ToString()); }