public static comment(text as String) as StyledSpan
Styles a line or block comment.
text
A StyledSpan with the comment style.
StyledSpan
span = AnsiSyntax.comment("# note")