It is worth reminding the reader that light piano jazz would become inseparable from the animated adaptations of Peanuts, so we must assume that Schroeder's not speaking on behalf of Charles Schulz in this strip.
The key here is Charlie Brown's awareness of his own mental state, and the humor derives from the fact that he knows it and yet refuses to do anything about it.