I would suggest doing a search on Google for "Word VBA remove blank lines" or "delete empty rows."

VBA is MS Office's scripting language, and something like this seems like it should be only a few lines of code.

If opposed to VBA, if they are within tables, you can likely change the formatting of all the tables to specify a row height of 0, and, if necessary, cell padding, as well.