No
one is truly un-funny. It's not a matter of learning to be
funny. It's a matter of learning to be as funny as possible
with what you have. How to be funnier.
People have their own sense of what is funny. There's no way to define funny properly. This means that learning to be funny can never be defined. That being said, experience can definitely help you find what is funny and what isn't. Likewise, you can learn through experience methods of delievery, etc.
In terms of content, you can learn what works and what doesn't. You can also obtain quality material. And while comedy is often a matter of content, it's also a matter of timing. But you can work on timing, you can find your own voice, you can do a lot of things to find a way to be funnier.