This isn't a question with an easy or unambiguous answer. On the one hand, we have the following:
1) Jackson seemingly wasn't a fan of his own personal appearance. Over the course of his adult life, his appearance steadily grew more Caucasian, presumably because of the deliberate use of plastic surgery and other techniques.
2) Jackson seemingly wasn't interested in continuing his own genetic legacy. It's widely believed that he used donor sperm to conceive his children, who don't seem to have visible black physical features.
3) Jackson had many white friends and both of his marriages were to white women.
On the other hand:
1) Jackson frequently celebrated African and African-American culture in his music (with songs like "Liberian Girl," about a beautiful African woman) and typically featured black women in his videos.
2) Jackson had many black friends, and didn't distance himself from black culture, except visually. He also disclaimed attempting to look more white, although most people didn't find his denials plausible.
It's worth noting that Jackson claimed to have vitiligo, a real skin disorder that causes skin to spontaneously lose pigmentation. The disorder creates spots or patches of light skin --sufferers can choose either to darken the patches with makeup to match the natural color, or, if the pigment loss is extensive enough, to lighten the remaining skin with creams.
It's probably fair to say that Jackson had complex and ambiguous feelings about his racial heritage, and that his appearance changes were probably more personally motivated than a statement about race. I've heard some armchair psychologists theorize he was actually motivated by destroying his resemblance to his hated and feared father, rather than obliterating his racial identity, but we'll almost certainly never know the answer for sure.