How to write comments in vue.js: 1. [] comments in the tag; 2. [] comments in the tag; 3. [<script>] comments in the tag . The operating environment of this tutorial: windows10 system, vue2.9, this article is applicable to all brands of computers. 【Recommended related articles: vue.js】 How to write comments in vue.js: ## In the #.vue file, within each code block, when commenting, you need to use the comment syntax of the respective language to comment (HTML, CSS, JavaScript, Jade, etc.). Use HTML comment syntax when commenting at the top of the file: . 1. Comments in the taghtml Comments: 2. Comments in the tag<strong><pre class='brush:php;toolbar:false;'>/* 多行注释 */</pre> 3. Comments in the tag<strong><pre class='brush:php;toolbar:false;'>// 单行注释 /* 多行注释 多行注释 */</pre> Related free learning recommendations: JavaScript (video)