<p>The rationale for "::" can be found in the PR where the Batch filetype was added: <a href="https://github.com/geany/geany/pull/160/files/79fa6c32cf6c2534424d1729283e4ab38fa48203#r5720731">https://github.com/geany/geany/pull/160/files/79fa6c32cf6c2534424d1729283e4ab38fa48203#r5720731</a></p>
<p>The author stated that <code>REM</code> would actually execute the command after but just suppresing its output.<br>
This contradicts what you cited above.</p>
<p>I don't know what is correct; <a href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490986(v%3dtechnet.10)" rel="nofollow">https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490986(v%3dtechnet.10)</a> pretty much says the same as your citation.</p>
<p>So we can probably change the default to <code>REM\s</code>.</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, <a href="https://github.com/geany/geany/issues/1912#issuecomment-414128066">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJzPMf6_3GSYbWd8FILZTYiCO7Gp8ks5uSWjZgaJpZM4VorRf">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ-zJ7X1YdsxPbiBTLMe50mICNUYLks5uSWjZgaJpZM4VorRf.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"PERSON","message":"@eht16 in #1912: The rationale for \"::\" can be found in the PR where the Batch filetype was added: https://github.com/geany/geany/pull/160/files/79fa6c32cf6c2534424d1729283e4ab38fa48203#r5720731\r\n\r\nThe author stated that `REM` would actually execute the command after but just suppresing its output.\r\nThis contradicts what you cited above.\r\n\r\nI don't know what is correct; https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490986(v%3dtechnet.10) pretty much says the same as your citation.\r\n\r\nSo we can probably change the default to `REM\\s`."}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1912#issuecomment-414128066"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1912#issuecomment-414128066",
"url": "https://github.com/geany/geany/issues/1912#issuecomment-414128066",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [geany/geany] Incorrect comment delimiter (comment_single) in filetypes.batch file (Windows batch) (#1912)",
"sections": [
{
"text": "",
"activityTitle": "**Enrico Tröger**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@eht16",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1912,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1912\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany/issues/1912#issuecomment-414128066"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 362984543\n}"
}
],
"themeColor": "26292E"
}
]</script>