Well, Woody Allen got his material from somewhere. Tevye's strongest weapon is his quick wit against whatever horrible things happen in his life, and it's his storytelling ability and his gallows humor about being a victim that get him the immortal life he leads as the protagonist of this book. If he were boring, you can guarantee that the book would not be called Tevye the Dairyman.
Tevye's jokes are actually much too sad to be funny.
Tevye's one-sided conversations with God are just like his one-sided conversations with Sholem Aleichem. They're his only source of emotional relief and the only way he can express his true self to anyone.