title: Hive comment with ";" still got executed with exception
body: <p>I want to temporarily comment some SQL statements in the hive script with <code>--</code>, but the statement will be still executed as it includes &quot;;&quot; at the end. I expect <code>--</code> should comment out the whole line, seem it's not the case in HIVE. How can I comment a full line?</p>
  <p>e.g.</p>
  <pre class="lang-sql prettyprint-override"><code>-- SELECT &quot;ABC&quot;;
  </code></pre>
  <p>Give exception:</p>
  <pre><code>NoViableAltException(-1@[])
          at org.apache.hadoop.hive.ql.parse.HiveParser.statement(HiveParser.java:1027)
          at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:201)
  ...
  FAILED: ParseException line 1:15 cannot recognize input near '&lt;EOF&gt;' '&lt;EOF&gt;' '&lt;EOF&gt;'
  </code></pre>