If they are not spectacularly long pipelines, you do not need to comment on the embedded text, just comment on top:
# Find all my VNC sessions.
As long as the comments are relatively localized, this is normal. Therefore, I would not put them at the top of the file (unless, of course, your pipeline was the first thing in the file) or scratched toilet paper and locked yourself on your desk at work.
But the first thing I do when I look at the block is to look for comments immediately preceding the block. Even in C code, I donโt comment on every line, as the purpose of the comments is to basically display why and high-level how .
source share