Repository: vscode
Issue: Snippet variables $LINE_COMMENT, $BLOCK_COMMENT_START, and $BLOCK_COMMENT_END not working in new C# file
Labels: bug,snippets


Type: <b>Bug</b>

I created a new workspace with a new dotnet console application.
In the .vscode folder, I created the following snippets.code-snippets file.  For brevity, I've removed the comments.
```
{
   "copyright": {
      "scope": "csharp",
      "prefix": "cr",
      "isFileTemplate": true,
      "description": "description",
      "body": [
         "$BLOCK_COMMENT_START Block Comment",
         "$BLOCK_COMMENT_END",
         "$LINE_COMMENT copyright $CURRENT_YEAR fizzbin",
         "$LINE_COMMENT A second line"
      ]
   }
}

```

When I create a new file via Command + N, click "fill with template", and select my above template, I get the following file:

> Block Comment
> 
>  copyright 2024 fizzbin
>  A second line
> 
Note that these are not comments.  They should be comments.

If I goto Extensions in the sidebar, and disable all extensions, the above still happens.  Note that I also tried this on a Linux system (Debian Bookworm, Arm64, same VSCode version), with the same results.

VS Code version: Code 1.96.2 (Universal) (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Darwin arm64 23.6.0
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Apple M1 Max (10 x 2400)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|3, 3, 3|
|Memory (System)|64.00GB (15.18GB free)|
|Process Argv|--crash-reporter-id 253a28a9-6b53-4b09-8596-1eaa36da5b33|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (16)</summary>

Extension|Author (truncated)|Version
---|---|---
xml|Dot|2.5.1
dotnet-test-explorer|for|0.7.8
docomment|k--|1.0.0
csdevkit|ms-|1.14.14
csharp|ms-|2.55.29
vscode-dotnet-runtime|ms-|2.2.3
debugpy|ms-|2024.14.0
python|ms-|2024.22.0
vscode-pylance|ms-|2024.12.1
jupyter|ms-|2024.11.0
jupyter-keymap|ms-|1.1.2
jupyter-renderers|ms-|1.0.21
vscode-jupyter-cell-tags|ms-|0.1.9
vscode-jupyter-slideshow|ms-|0.1.6
cpptools|ms-|1.22.11
test-adapter-converter|ms-|0.2.1


</details><details>
<summary>A/B Experiments</summary>

```
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
newcmakeconfigv2:31071590
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc2:31192216
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624

```

</details>

<!-- generated by issue reporter -->