The female boss is single, but you are not. This situation will test your own morality. If you already have a family or girlfriend, unless you can give up your current goal for the sake of the female boss, I suggest you draw a clear line with the female boss. The female boss is not single, you are single. If you can't control it, you become a third party. I suggest you don't do this and stick to your moral bottom line. Maybe the female boss doesn't care about developing a lover relationship with you, but such a relationship may ruin your own future.
Neither the boss nor you are single. As long as the female boss is not single, you can't get involved with her. I think you can try to communicate with her and tell her the situation, which will have a negative impact on her. I hope to return to my normal colleague relationship. Even if you are both single, be careful when developing office relationships. Generally speaking, strong female leaders are more beautiful. Many people will talk about your female leader behind your back. At this time, you should participate in what she said behind her back and praise and support the female leader behind her back.
Over time, she will know that you are praising her and supporting her. As long as she knows that you praise her behind her back, she will be very kind and supportive to you. There are many beautiful things in the future, and she will think of you first. Even if you meet a seemingly gentle woman, it doesn't mean that she is really gentle. She is basically a strong woman. If a woman is not strong in the workplace, it is difficult for her to become a leader.