is this inappropriate?

My boyfriends friends just went through a bad break up. And I want to comment on his status giving him advice because he's posting about it and I wanted to comment but then I was like is that too weird? 
I've been with my boyfriend for 3 years and know his friends really well.
My boyfriend wouldn't see a problem with this, I just think it would be weird to them if I offered break up advice. 
Before my SO I was with someone for 3 years and went through a horrible break up and related to his friend when he posted what he did. Is it too weird?