echo abc `#put your comment here` \
def `#another chance for a comment` \
xyz etc
特别是对于管道,有一个更清洁的解决方案,没有开销
echo abc | # normal comment OK here
tr a-z A-Z | # another normal comment OK here
sort | # the pipelines are automatically continued
uniq # final comment