count line numbers properly in block comment