Re-organize `.gitignore` file to be parsed properly (#4740)
The file was re-organized in da652d0[^1] with better documentation, but
that unfortunately made the syntax invalid. According to the gitignore
documentation:[^2]
> A line starting with # serves as a comment. Put a backslash ("`\`") in
> front of the first hash for patterns that begin with a hash.
I needed to move the comments for Git to parse the file properly. To
maintain readability, I added an extra `#` to the comments at the top of
each section.
[^1]:
https://github.com/microsoft/DeepSpeed/commit/da652d0e0b4ff0b7c870e74730b9d3d8f51bf8aa
[^2]: https://git-scm.com/docs/gitignore/2.43.0#_pattern_format
Co-authored-by: Logan Adams <114770087+loadams@users.noreply.github.com>