A paragraph is ended by one or more completely blank lines -- lines not containing even an %. A blank line should not appear where a new paragraph cannot be started, such as in math mode or in the argument of a sectioning command.