Seems like the comment above this could use some updating.  It's not immediately obvious why finding a block comment delimiter means there's an uncommented out line.  Don't you need to know (a) whether it's an open vs. close delimiter, and (b) whether any non-blank lines exist on the "outside" side of the delimiter (and still within the startLine-endLine range)?