<p><a href="https://github.com/elextr" class="user-mention">@elextr</a> no, but if you read the syntax in <a href="https://www.haskell.org/onlinereport/haskell2010/haskellch2.html#x7-160002.2">2.2</a>, you see that a comment is defined as</p>

<blockquote>
<table>
<thead>
<tr>
<th>lexeme</th>
<th>definition</th>
</tr>
</thead>
<tbody>
<tr>
<td><em>comment</em></td>
<td>
<em>dashes</em> [ <em>any</em>⟨<em>symbol</em>⟩ {<em>any</em>} ] <em>newline</em>
</td>
</tr>
<tr>
<td><em>dashes</em></td>
<td>
<code>--</code> {<code>-</code>}</td>
</tr>
<tr>
<td><em>symbol</em></td>
<td>
<em>ascSymbol</em> | <em>uniSymbol</em>⟨<em>special</em> | <code>_</code> | <code>"</code> | <code>'</code>⟩</td>
</tr>
<tr>
<td><em>ascSymbol</em></td>
<td>
<code>!</code> | <code>#</code> | <code>$</code> | <code>%</code> | <code>&</code> | <code>⋆</code> | <code>+</code> | <code>.</code> | <code>/</code> | <code><</code> | <code>=</code> | <code>></code> | <code>?</code> | <code>@</code>    | <code>\</code> | <code>^</code> | <code>|</code> | <code>-</code> | <code>~</code> | <code>:</code>
</td>
</tr>
<tr>
<td>…</td>
<td></td>
</tr>
</tbody>
</table>
</blockquote>

<p>So a comment is <em>a sequence starting with 2 or more dashes (<code>-</code>) not followed by any of <code>!</code>, <code>#</code>, <code>$</code>, <code>%</code>, <code>&</code>, <code>⋆</code>, <code>+</code>, <code>.</code>, <code>/</code>, <code><</code>, <code>=</code>, <code>></code>, <code>?</code>, <code>@</code>, <code>\</code>, <code>^</code>, <code>|</code>, <code>-</code>, <code>~</code> or <code>:</code></em>.</p>

<p>Hence, not only simply inserting <code>--</code> might or might not make it a comment, but also our default toggle comment suffix (<code>~</code>, leading to <code>--~</code>) will not make it a comment at all.</p>

<p>So, in the end I think the solution proposed here by <a href="https://github.com/AleXoundOS" class="user-mention">@AleXoundOS</a> makes sense.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/geany/geany/pull/1026#issuecomment-217117057">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJzFXqLzJAXbM0ufxXm9FqRpkw1Dlks5p-cDWgaJpZM4IXsVS.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/1026#issuecomment-217117057"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>