重複の可能性:
Bash: 複数行のコマンドに行コメントを付ける方法
私はこのようなことをしたいと思います
sudo apt-get install \
#a very long description
#of the package
#that spans multiple lines
pkg1 \ #maybe I want an inline comment also
#another description that
#spans multiple lines
pkg2
コマンドだけに興味があるわけではないことに注意してくださいapt-get
。