what if the comment is not a the beginning of the line

```groovy
 file.eachLine {line -> if (line.trim().startsWith('#'))
```