I spent a long time looking for this and kept getting reference to M-x customize. But, that didn't give me access to certain variables like comment-start. I couldn't access comment-start with M-x customize-option either.
I decided to look for a way to use setq in the current buffer, but couldn't find that so I figured I'd document it here.