> For the complete documentation index, see [llms.txt](https://trizen.gitbook.io/sidef-lang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trizen.gitbook.io/sidef-lang/programming_tasks/c/comments.md).

# Comments

Single line comment

```ruby
# this is commented
```

These may also be at the end of a line

```ruby
var i = 1; # this is the comment part
```

Embedded comments

```ruby
var distance #`{in meters} = (30 #`{meters} * 100 #`{seconds});
say distance; # prints: 3000
```

Multi-line comments

```ruby
/*
    This is a multi-line comment
*/
```
