The text is a saying that plays on the concepts of 'half truth' and 'whole lie' to convey a moral lesson about honesty. It does not exploit different meanings of a word or similar-sounding words for humorous effect.
A half truth is a whole lie .