> For the complete documentation index, see [llms.txt](https://docs.derw-lang.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.derw-lang.com/fundamentals/comments.md).

# Comments

Currently comments exist in two forms: single line and multiline. When using the formatter, comments at the top level are preserved but not those inside function bodies.

## Single line

```elm
-- a single line comment
```

## Multi line

```elm
{-
hello world
multiple lines
-}
```
