I believe the Berkeley #! magic number came first. The C Shell already used this as a comment, the Bourne shells grudgingly followed. I still remember using : for a comment in the V6 shell. Was also the label for goto.