this is the same as:
```python
if inBlock and line.strip():
    start = len(line) - len(line.lstrip())
    line = line[:start] + "# " + line[start:]
data += lilne
```