Comments

Use comments to add notes or disable parts of your automation without affecting execution.

What is a Comment?

A comment is a line in an automation that is skipped during execution. Comments are used to add notes and annotations. Additionally, they can be used to disable a part of your automation temporarily.

How to Add a Comment

To add a comment, use the # symbol at the beginning of a line. For example:

# This is a comment and will be ignored
say "Welcome to Kognitos!"

⚠️

Single-Line Comments Only

Currently, the platform only supports single-line comments. If you want to add multiple lines of comments, you’ll need to use the # symbol on each line. For example:

# This is the first line of a multi-line comment
# This is the second line of the comment
# This is the third line of the comment