Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 .cshtml 文件中有大量代码,这些代码使用以下语法进行了注释。
@* ... *@
但 Visual Studio 不显示此块的代码折叠选项。有没有办法这样做?
作为一种解决方案,您可以对此进行正常的 html 评论。可能不是最优雅的解决方案,但它很有效。
<!--@* ................ *@-->