The text is a well-known proverbial phrase suggesting that lack of knowledge results in happiness and it is foolish to seek wisdom that might lead to discomfort. It does not play on different meanings of a word or similar-sounding words for a humorous effect.
Where ignorance is bliss , ' tis folly to be wise .