The future queen spoke out following a fatal military training accident that claimed the lives of three Royal Navy personnel in Devon.