Glad you got it going.
# is a comment indicator in the Settings.txt file as well as most other text based setting/INI files
Anything following before a carriage return or newline will be ignored and it shouldn't interfere with the script, but essential for debugging and knowing what you changed.
Your error was caused by a broken signal link. TSRE 0.699 and above can fix these errors. I recommend you using TSRE5_v0.699.1.exe - it can find and correct even more errors.