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
The number of children in care has increased to its highest level for nearly 25 years, the Government's spending watchdog has said.
Abuse victims are being put through "torture" by the pace at which the Government's inquiry into abuse is progressing, an MP has said.
The number of diabetic and severely overweight patients having weight loss surgery needs to triple to help the future of the NHS, Nice said.