How to comfort a heartbroken boy?

One of my good friends recently got up the courage to ask out this girl he strongly likes, maybe even loves, and has for a while. Perhaps you predicted from the title that he was rejected flat out. He is heartbroken- near physical pain as he describes. I would like any advice on how to comfort him. Preferably something to say- for I cannot be by his side at the moment.

Additional Details: It would have involved a long distance relationship. She moved away 2 years ago, but he has never faltered in is feelings towards her. They were great childhood friends- knowing each other for 5 or 6 years. I'm a close friend to them both, so its really hard for me to take one side or another.
How to comfort a heartbroken boy?
Post Opinion