Apparently humor appreciation appears to be based in the lower frontal lobes of the brain, a location associated with social and emotional judgment and planning, according to imaging research. That might explain why people who have suffered strokes involving the lower frontal lobes of the brain may have alterations of personality which include loss of their sense of humor.