Click or drag to resize
Json.NET

JsonWriterWriteComment Method

 
Writes a comment /*...*/ containing the specified text.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 11.0.1
Syntax
C#
public virtual void WriteComment(
	string text
)

Parameters

text
Type: SystemString
Text to place inside the comment.
See Also