No, you shouldn’t mention your ex in your profile. This can make you appear bitter and may deter potential partners from wanting to get to know you better.