Should be 
```js
out += Array(indent+1).join(' ') + '#-\n';
```
to work with indented blocks