为什么wp子主题中的Css文件代码写成注释行?

why is the Css file codes in wp child theme written as comment line?

我在 wp 子主题中有 style.css。 (下面是示例代码)并将此代码放在注释行中。据我所知,评论对文档的布局没有影响。好吧,为什么这些代码写在注释行中??

/*
Theme Name:     kabasakal Childtheme
Description:    
Author:         Kabasakal Reklam Ajansı
Template:       kabasakal (you must enter the name of the main theme here!!)

*/

我相信这些行是 Wordpress 在允许管理员在主题之间进行选择时用来获取有关 theme/file 的元数据的内容

https://developer.wordpress.org/themes/basics/main-stylesheet-style-css/

WordPress uses the header comment section of a style.css to display information about the theme in the Appearance (Themes) dashboard panel.

这是一条必需的 header 评论,位于 child 主题 style.css 的最顶部。

This tells WordPress basic info about the theme, including the fact that it is a child theme with a particular parent.

https://developer.wordpress.org/themes/advanced-topics/child-themes/#2-create-a-stylesheet-style-css