BuildKit drops comment lines and blank lines inside a RUN continuation, and a top-level comment ending in a backslash does not continue; the guard joined lines naively, so 'curl u \\ / # c / | tar' and '# c \\ / RUN curl u | sh' slipped through. '| /bin/tar' and '| /usr/bin/sh' were missed by the matcher too.