"Most important thing, I am happy for him personally that he's able to keep playing," the double Wimbledon champion added.
Murray, 32, returned from a five-month injury layoff last month to win the men's doubles title at Queen's Club with Feliciano Lopez and is entered with Pierre-Hugues Herbert at Wimbledon.
The twice men's singles champion at Wimbledon also plans to play mixed as he continues his recovery from hip-resurfacing surgery in February. He is not playing singles.
"Hopefully he will have the chance to keep playing on singles. But anyway, he's able to enjoy again tennis without much pain, as I heard. That's the main thing and the most important thing," Nadal said.
(Reporting by Arjun Panchadar in Bengaluru; editing by Sudipto Ganguly)