Chelsea defender Terry, 31, is accused of calling QPR player Anton Ferdinand a "f****** black c***" during a Premier League game on October 23 last year.
He denies a racially aggravated public order offence, saying that he was sarcastically repeating the slur that Ferdinand mistakenly thought he had used.
Cole, also 31, told Westminster Magistrates Court: "I think we shouldn't be sitting here."
He said that while racism should never be tolerated, repeating what you thought someone said was 'completely different'.
Cole said: "If I repeated something that I thought you said, that's totally different than if someone just says something."
Cole described Terry as "a close friend", with whom he had played at Chelsea and for England for six or seven years. But he said there was a "conflict" because he is also friends with Ferdinand and his brother Rio.
He was asked by George Carter-Stephenson QC, for Terry: "Did you want to get involved in the situation?" "No."
The barrister asked about a statement Cole made after the match. Mr Carter-Stephenson said: "When you made the statement what was in your mind?" Cole replied: "The FA summoned me to do it."
Mr Carter-Stephenson continued: "Did you feel there was any conflict?" Cole said: "Yeah. JT is my team-mate and friend; Anton and Rio and his family, I've known for a long time."
Source: PA
Source: PA