Replaced constant RESERVED with macro SIZEOF (reserved).
Inverted the logic test for existing comment line.
Inverted the logic test for existing comment line.