Just a small issue with how you insert a ^ (caret, wedge, circumflex, arrow, hat, what have you), / (forward slash), or * (star, asterisk) as a literal in a comment in Maple.
In regular code, it works fine;
Typing \_ produces _
Typing \^ produces ^
Typing \/ produces /
Typing \* produces *
In a comment, only underscores work as expected. The caret, asterisk and slash leave behind the escaping backslash, which you will have to go back and delete yourself.
Typing # \_ produces # _
Typing # \^ produces # \^
Typing # \/ produces # \/
Typing # \* produces # \*
There may be other characters affected that I am not aware of. These are the only ones that I know actually do anything in a comment.
To people trying to reproduce this, here's some information on my setup: I have Maple 14 Educational, Build ID 479326. I am in Worksheet mode. The default text mode for code is 2D Input, although it still happens when I switch to other code-y modes. Since I think this might have something to do with the typesetter, my Typesetting Level is Maple Standard.