hide comment settings except when enabled for type #873

#873