However, when you are copy-pasting IOS CLI commands, it might be tough. The simplest way is to open the file in vim and just do this:
which will add the special escape character "Control V" in front of every question mark.
The other method (for all you Windows Notepad folks) is to copy paste the character in the next line:
without the trailing newline and do a search and replace of every ? with ? in the text file. Then you can copy paste the file.