%% Andreas, 2021-08-19, also test #5398

\documentclass{article}

\usepackage{agda}

\begin{document}

\begin{code}%
\>[0]\AgdaKeyword{module}\AgdaSpace{}%
\AgdaModule{Issue2588}\AgdaSpace{}%
\AgdaKeyword{where}\<%
\\
%
\\[\AgdaEmptyExtraSkip]%
\>[0]\AgdaComment{\{-}\<%
\\
\>[0]\AgdaComment{-\}}\<%
\\
%
\\[\AgdaEmptyExtraSkip]%
\>[0]\AgdaComment{\{-}\<%
\\
\>[0]\AgdaComment{One\ line}\<%
\\
\>[0]\AgdaComment{-\}}\<%
\\
%
\\[\AgdaEmptyExtraSkip]%
\>[0]\AgdaComment{\{-}\<%
\\
\>[0]\AgdaComment{Two}\<%
\\
\>[0]\AgdaComment{lines}\<%
\\
\>[0]\AgdaComment{-\}}\<%
\\
%
\\[\AgdaEmptyExtraSkip]%
\>[0]\AgdaComment{\{-}\<%
\\
\>[0]\AgdaComment{First\ paragraph.}\<%
\\
\>[0]\<%
\\
\>[0]\AgdaComment{Second\ paragraph.}\<%
\\
\>[0]\AgdaComment{-\}}\<%
\end{code}

\end{document}
