Newer Version Available

This content describes an older version of this product. View Latest

Comments

To add a single-line comment in SAQL, preface your comment with two hyphens (--). To add a multi-line comment, start your comment with a forward slash and asterisk (/*) and end it with an asterisk and forward slash (*/).

Single-Line Comments

Here’s an example of a single-line comment on its own line.
You can put a comment at the end of a line of SAQL code.
To comment a line of SAQL code, add two hyphens at the beginning of the line.

Multi-Line Comments

Here’s an example of a multi-line comment.