Being witty is a strong tool for winning friends and pick up, but how does one improve their wit?

Mental games?

Watching standup?

Association with witty individuals?

How did you build up your wittiness?