Bugfix for when last line is a comment
Bugfix for when last line is a comment

Contributed by [MikuX2](https://github.com/toybox01) with minor
ammendment by Steve Marple.

See https://github.com/stevemarple/IniFile/pull/23

stevemarple/IniFile,stevemarple/IniFile