Asynchronously writes out a comment <!--...--> containing the specified text.
text Text to place inside the comment.
The task that represents the asynchronous WriteComment operation.
This is the asynchronous version of XmlWriter.WriteComment(string), with the same functionality. To use this method, you must set the XmlWriterSettings.Async flag to true.