Make a feeble attempt to fix the errors with comments at the end of a config file.