下列矩阵中不能相似于对角矩阵的是 ( )
$\text{A.}$ $\left(\begin{array}{lll}1 & 1 & a \\ 0 & 2 & 2 \\ 0 & 0 & 3\end{array}\right)$
$\text{B.}$ $\left(\begin{array}{lll}1 & 1 & a \\ 1 & 2 & 0 \\ a & 0 & 3\end{array}\right)$
$\text{C.}$ $\left(\begin{array}{lll}1 & 1 & a \\ 0 & 2 & 0 \\ 0 & 0 & 2\end{array}\right)$
$\text{D.}$ $\left(\begin{array}{lll}1 & 1 & a \\ 0 & 2 & 2 \\ 0 & 0 & 2\end{array}\right)$