You can use the package lstlinebgrd which extends the package listings.
Here a simple example which will highlight the third line:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{example.tex}
\documentclass{article}
\begin{document}
Hello World!
\end{document}
\end{filecontents*}
\usepackage{listings}
\usepackage{lstlinebgrd}
\begin{document}
\begin{minipage}{.48\textwidth}
\centering
\lstinputlisting[numbers=left,xleftmargin=2em,frame=single,framexleftmargin=2em, breaklines,
linebackgroundcolor={\ifnum\value{lstnumber}=3\color{green}\fi}]{example.tex}
\end{minipage}
\end{document}

Update
To specify the highlighted lines I provided in the example below a macro \lstcolorlines which can be used as an argument of the option linebackgroundcolor. The function \lstcolorlines is defined with the user interface xparse and the modul clist provided by expl3. The Syntax of the command ist:
\lstcolorlines[optional argument: color]{mandatory argumente: line numbers}
The example is:
\documentclass{article}
\usepackage{expl3,xparse}
\ExplSyntaxOn
\NewDocumentCommand \lstcolorlines { O{green} m }
{
\clist_if_in:nVT { #2 } { \the\value{lstnumber} }{ \color{#1} }
}
\ExplSyntaxOff
\usepackage{filecontents}
\begin{filecontents*}{example.tex}
\documentclass{article}
\begin{document}
Hello World!
Hello World!
Hello World!
\verb+1+
\end{document}
\end{filecontents*}
\usepackage{listings}
\usepackage{lstlinebgrd}
\begin{document}
\begin{minipage}{.48\textwidth}
\centering
\lstinputlisting[numbers=left,xleftmargin=2em,frame=single,framexleftmargin=2em, breaklines,
linebackgroundcolor={\lstcolorlines{2,9}}]{example.tex}
\end{minipage}
\begin{minipage}{.48\textwidth}
\centering
\lstinputlisting[numbers=left,xleftmargin=2em,frame=single,framexleftmargin=2em, breaklines,
linebackgroundcolor={\lstcolorlines[yellow]{2,10}}]{example.tex}
\end{minipage}
\end{document}

listingspackage. The reason is because you're including your code as an external file and may only want to highlight certain lines. – Werner Jun 04 '12 at 18:58