Previously, if a shell command started with a comment line, parsing would fail because shell_command expected the first line to be a shell line. This adds an optional comment to the beginning of the shell_command to handle this correctly.