changing where comment markers "--" get put?

Is there a way to change where the comment markers get put, currently way over on the left hand side, to at the indent level of where you comment?  i.e. like textmate & sublime?