Most Helpful Girl
I think you're reading too much into it. Maybe he likes your friend and wanted to pay her a compliment, but wasn't comfortable doing it directly. He had to include you so he wouldn't have to feel embarrassed later on if she rejected him. It's a defense mechanism.