Rather than edit the config file each time you update the modpack, save a copy of the edited file in another location, then create a batch file to copy the saved config into the game folder. Put a shortcut to the batch file on your desktop, then whenever you've updated the modpack, it's just a mouse click to run the batch file and restore your personalised config.