\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[top=2cm, bottom=2cm, left=2cm, right=2cm]{geometry}
\usepackage{color}
\newcounter{question}
\newcommand{\name}{00}
\renewcommand{\thefigure}{R\arabic{figure}}
\renewcommand{\thetable}{R\arabic{table}}
\newcommand{\question}[1]{\stepcounter{question} \noindent \textbf{Comment \name.\thequestion} \emph{#1} }
\newcommand{\answer}[1]{\noindent \textbf{Answer to \name.\thequestion} #1 \mbox{}\\}
\newcommand{\newperson}[2]{\renewcommand{\name}{#2} \setcounter{question}{0} \newpage \noindent \textbf{\Large Answers to #1} \\}
\begin{document}
{\large \textbf{Response to the comments about
the submitted paper \emph{XXX}}}
We thank the reviewers for their constructive comments. We have
addressed all of them and modified the paper accordingly. Our
detailed answers follow.
Please note that reviewers' comments are in italics while our
answers are not. Additions to the original manuscript are indicated in blue.
\newperson{Associate Editor}{AE}
\question{Question}
\answer{Answer}
\newperson{Reviewer 1}{R1}
\question{Question}
\answer{Answer}
\newperson{Reviewer 2}{R2}
\question{Question}
\answer{Answer}
\newperson{Reviewer 3}{R3}
\question{Question}
\answer{Answer}
\bibliography{Mendeley}
\bibliographystyle{ieeetr}
\end{document}