Billionaire investor Warren Buffett has weighed in on the U.K.’s possible exit from the European Union, often known as "Brexit."

“I don’t think it's a good thing,” Buffett told CNBC Friday in an interview, adding that the possibility of Britain’s exit isn’t a factor in his business decisions, and isn’t leading him to change his investments.

“But I hope they won’t do it,” Buffett added.

British voters will decide on the issue in a June 23 referendum.

Buffett spoke ahead of this weekend's annual gathering of Berkshire Hathaway Inc. shareholders in Omaha, Nebraska, which is often referred to as "Woodstock for Capitalists."

Buffett, 85, is the oldest chief executive of a Fortune 500 company. In 2015, the world's third-richest person celebrated perhaps his final milestone anniversary at Berkshire, as more than 40,000 people descended on Omaha and overwhelmed its downtown CenturyLink Center to honor his 50 years at the helm.

This year's gala again features a cookout and five-kilometer run, and centers on Saturday's five-hour question-and-answer session with Buffett and Vice Chairman Charlie Munger, 92.

Buffett "gives Omaha a heck of a lot of free visibility that a lot of cities would pay dearly for," said Ernie Goss, a professor at Creighton University there who studies the region's economy.

Data from Reuters were used to report this story.