Was fortunate to see Cocoanuts on stage in the 80’s, and even though I have seen the film version before, it was still the funniest show I have ever seen.
In a documentary, one of the Marx descendants said that the brothers would work out a script in their live shows (she must have been talking about Cocoanuts), and said she saw the same show but screamed with laughter, as the brothers ad libbed new stuff every performance. Good way to make sure it’s funny before committing it to screen, akin to “this show was recorded before a live studio audience” on TV.