remove the [sections] blocks when reading config file

Or better:
```c++
if (line.size() > 0 && (line[0] == '#' || line[0] == '[')) {