It's actually a really bad idea to modify a linux text config file with a rich text editor.
The best option is to use a linux text editor (vim, nano, ...), or a simple MS notepad (or better, notepad++).
You're lucky only the sound was impacted :)