property CalcEdit.AllowComments as String
Specifies the HTML caption that starts the comment of the line. If empty, no comments are allowed.

TypeDescription
String A string expression that defines the HTML caption that starts the comment of the line
By default, the AllowComments property is "", which indicates that the control supports no comments. A line can have a prefix delimited by the AllowPrefixes property, and can have a comment delimited by the AllowComments property. The prefix of the line and its comment are never evaluated. In conclusion, the expression of the line starts after AllowPrefixes property, and ends before AllowComments property. The FormatInvalid property specifies the HTML format to show invalid lines. The AddWildFormat method formats the line based on the giving wild characters expression.

The list of supported built-in HTML tags is:

For instance, if:

The following screen shot shows lines with/without comments and prefixes:

The

In case, the AllowComments property is empty, we get the following:

so only lines with or without a prefix are evaluated:

In case, the AllowPrefixes property is empty, we get the following:

so only lines with or without a comment are evaluated:

or if both are empty we get the following:

so only lines without a prefix and comment are evaluated: