-

Comments in ST

In a textual worksheets (code or data types), the following comment types are supported:

(* comment *)

/* comment */

// single line comment only

You can use the command 'Comment Lines' in the context menu of the textual code editor to comment out a selected line or a range of text. The selected line(s) are prepended by the '//' characters (marked as single line comments). With the context menu command 'Uncomment Lines', the first two '//' characters are removed at the beginning of each selected line.

Note
When nesting comments, the closing element must always match the relating opening element. The format expected here is mentioned in the error message.