# Lines and comments

One statement per line; indent to carry on.

- One statement per line.
- A line that starts at the left edge starts a new statement; an indented line carries on the one above.
- Inside brackets a statement can run over as many lines as it likes.
- `//` starts a comment, to the end of the line.

```vex
trend = if close > ema(close, 50)
        then 1
        else -1   // indented: the same statement
plot(trend, "Trend", style = steps)
```

See also: [Names and formulas](/documentation/vex/names-and-formulas), [The version line](/documentation/vex/the-version-line)
