Use LyX note instead of comment. This is less invasive that
converting Beamer frames to fragile to accommodate the comment
environment.
(cherry picked from commit
e81f6b04bcf878a1170d46b3820e8345436b4db5)
\end_layout
\begin_layout Frame
-\begin_inset Note Comment
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Frame
-\begin_inset Note Comment
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Frame
-\begin_inset Note Comment
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Frame
-\begin_inset Note Comment
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout