As someone who has been wanting to write a Config' Helper app' for a long time, I commend you for your effort but I'm afraid I have to agree with Pommie.
If I ever do get around to writing that app' it will have radio buttons to select the type of output formatting (assembler, MCC18, BoostC, others.) and a button to copy that text to the clipboard for insertion into the source file. And hey, if you want to take up the cause, that would be great.
Kind regards, Mike