Contact Form 7 has a range of constants which allows you to control the behaviour of a form. One of these constants is to automatically insert p tags. I’ve found this isn’t always ideal, so they can be removed by adding the line below to the wp-config.php file.

define ( 'WPCF7_AUTOP', false );