removes extra comment marks from settings file