Fixed not checking in-line block comment

The new multi-line comment support didn't check if the comment ended on
the same line, now it does.