I was annoyed that Vim moved all comments to the beginning of the line the moment I entered # sign. Searching around first turned me to smartindent, but I found that was already off.
Then this vimtip shed the light on the monster:
just add to your .vimrc:
And you are good to go.