Revise settings validate code comment documentation