> For the complete documentation index, see [llms.txt](https://glados.guillaume-hein.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://glados.guillaume-hein.fr/features/comments.md).

# Comments

We've implemented comments in GoMelan like in C, here is some examples of GoMelan comments:

```rust
fn power(x: Int, y: Int) -> Int;

/* Here is a comment
i can also write it
on several lines */

// This is a one line comments

fn main() -> Int
{
    total: Float = 3.4; // Init total to 3.4
    a: [Int] = [1, 3, -4, 2, 0, 6, -6];

    return power(floatToInt(total) + sum(a), 3); // Return the result of the power calculation
}
```
