A comment in the middle of a logical line will cause a token error.

Catch the exception that's thrown further up the call stack. This way we
can try a different route before giving up.