> For the complete documentation index, see [llms.txt](https://prof-rossetti.gitbook.io/intro-to-python/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prof-rossetti.gitbook.io/intro-to-python/notes/python/comments.md).

# Comments

Use comments to convey some message or otherwise prevent code from being executed by the interpreter. Comment by using the `#` sign followed by the commented message:

```python
# This is a single-line comment. It won't be executed.
```

Unlike other languages, Python doesn't offer multi-line comments, so the best you can do is put a comment on every line:

```python
#
# This is a multi-line comment.
# It won't be executed.
#
```
