Two very different races. Here's every stat, side by side, to help you pick.
Indicative — based on GPX data. Both courses normalised to start at 0m.
✓ marks the better number on that stat.
Lisbon Marathon is an October point-to-point race in Lisbon, with about 9,200 finishers, 189 m of climbing and a difficulty score of 3.8/10. Porto Marathon is a November point-to-point race in Porto, with about 4,800 finishers, 164 m of climbing and a difficulty score of 3.6/10.
The Porto Marathon is the flatter course by about 25 m of climbing. The Lisbon Marathon has the larger field, with roughly 1.9 times the finishers. They fall within a month of each other, so you would normally pick one.
Choose the Lisbon Marathon for the bigger field; choose the Porto Marathon for the flatter course. Check each organiser's site for the current date and entry rules.