Referring to the assassination off Co Sligo in the Irish Republic, he said he told the royals that he recognised they had lost a relative.
"I said to the Queen and the Duke they too had lost a loved one," he said.
Mr McGuinness revealed some of the detail of the private meeting during a talk show on RTE television.
The killing was discussed briefly after an historic handshake between the pair which has been hailed as a watershed moment in Anglo-Irish relations.
Mr McGuinness has not discussed any of the detail of the meeting until now. When he left the theatre he would only say that the Queen was very nice and that he was still a Republican.
More top news
Former shadow foreign secretary Hilary Benn led calls by a series of senior Labour MPs urging colleagues to 'win' back the party.
A team of detectives and specialists is set to begin a painstaking excavation of the area where Ben is thought to have gone missing in 1991.
The foreign secretary's suggestion last week's bombing of an aid convoy might constitute a war crime prompted an angry response from Moscow.