OK, cool, it might be Ruby. It also accepts it on the second line but I assumed it only does that if the first line is a comment, too (this is to make shebangs work).