In his integrative approach to humor theories, Martin (2007) discusses the connection between tabooness and incongruity resolution.
he discusses the salience hypothesis (Goldstein et al., 1972;Attardo and Raskin, 1991), according to which "the purpose of aggressive and sexual elements in jokes is to make salient the information needed to resolve the incongruity".