如何在apache httpd.conf中添加注释不是一个完整的行?

cyt*_*nny 19 apache comments httpd.conf

在apache conf文件中,如果一行开头#,该行将被计为注释.例如,

#This is a comment line
#And then the following is some real settings:
AllowOverride None
Run Code Online (Sandbox Code Playgroud)

但是,这是不允许的.

#And then the following is some real settings:
AllowOverride None #A comment that starts in the middle of line
Run Code Online (Sandbox Code Playgroud)

是否可以在行中间开始评论?如果是,怎么样?

Jua*_*ado 21

文件指出,这是不可能的:

...以井号"#"开头的行被视为注释,并被忽略.注释可能不会与配置指令包含在同一行中...