---
schema_version: "1"
id: 45c61e788da9bbe40127a81636f51bb63810b730ec583bb9595bf16f79853d46
title: Comments
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/analytics/bi_dev_guide_saql/guides/reference/bi-saql-comments.md
canonical_url: https://developer.salesforce.com/docs/analytics/bi-dev-guide-saql/guide/bi-saql-comments.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0c64f81d29488e9eb31e4ae5966bbd7e2773f9d762de3edfa850cef01c05e41f
products:
  - Analytics SAQL Developer Guide
  - analytics
---

# 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.

```nolang
--Load a data stream.
a = load "myData";
```

You can put a comment at the end of a line of SAQL code.

```nolang
a = load "myData"; --Load a data stream.
```

To comment a line of SAQL code, add two hyphens at the beginning of the line.

```nolang
--The following line is commented out:
--a = load "myData";
```

## Multi-Line Comments

Here’s an example of a multi-line comment.

```nolang
q = load "campaign_data";
q = group q by Owner;
q = foreach q generate count() as 'count';
/*
q = limit q 5;
*/
```
