The solution strips all text that follows any of a set
of comment markers passed in. Any whitespace at the end
of the line will be stripped out as well.
The solution should strips all text that follows any
of a set of comment markers passed in. Any whitespace at
the end of the line should also be stripped out.