You sure can! Go into your user settings and hit the Clear chat button.


Note: This only clears your chat, not everyone's chat.