There's no need to create a comment map for a node in checkBlockLeadingNewline, checkCaseLeadingNewline and checkCommLeadingNewline if checkLeadingNewline will do an early return.
Either duplicate the check, or pass the node needed for the comment map and create the map only if enabled.