Set all of the necessary comment-* variables.