```coffee
offset = Math.max 0, comment.indexOf('#')
```