it does not hurt on Windows. PHP is smart enough to avoid sending it to the output. It simply means that Windows users either need to
- create a bat file (generally letting composer do it as it is easier) 
- run it with PHP explicitly (as described in the doc)
- use GitBash or Cygwin for their console, and then profit of the Unix shebang