停止 Visual Studio 2019 在按下回车时自动添加评论前缀?

Stop Visual Studio 2019 from automatically adding comment prefix when enter pressed?

我找不到关闭 VS2019 编辑器自动继续评论到下一行的选项。示例:

// This is my comment and when I press enter it gives me:
// 

我不希望它在输入时添加 //。我在哪里关闭它?

谢谢。

此功能是在 Visual Studio 2019 16.9.0 中添加的。您可以通过取消选中 Insert // at the start of new lines when writing // comments.

选项 > 文本编辑器 > C# > 高级(或搜索“评论”)中禁用它

导航到:工具 -> 选项 -> 文本编辑器 -> C/C++ -> 代码样式 -> 常规,然后取消选中“在编写注释时在新行的开头插入现有注释样式”。 =10=]