如何在多行命令中插入内联注释?

xli*_*iiv 6 bash command

我想在 bash 上做这个

apt install -y \
   curl \  # i'd like to insert comment here somehow
   python3
Run Code Online (Sandbox Code Playgroud)

但这不起作用。

ste*_*eve 5

一种方法:

apt install -y \
   curl `# my comment` \
   python3
Run Code Online (Sandbox Code Playgroud)