Write the specified comment into the stream. The optionally specified forceNewline, if true, forces to start a new line solely for the comment if it's not on a new line already. Otherwise, comments continue on current line. If an element‐opening tag is not completed with a >, addComment will add >.
Synopsis
Declared in <balxml_formatter.h>
void
addComment(
std::string_view const& comment,
bool forceNewline = true);
Description
DEPRECATED: Use addValidComment instead.
Created with MrDocs