Well, for starters, the first time you have a non-comment line you can never have another comment line.
Secondly, the code supplied prevents every subsequent lexem working in the config file.
I guess this all comes back to my question; how do you add a rule that detects the start of a line?
Some languages use the line-breaks to denote end of statements, but I can't get anything to detect these properly in a grammar file.
Jason