If you're intested in the UK charts, then Elvis has had a record 21 British chart-toppers, interestingly with 18 different songs (some were reissued/remixed). The Beatles come second with 17 No 1s.
Paul McCartney has featured on more #1s than any other artist albeit under many different guises and pseudonyms: 24 in total!
- solo (1) "Pipes Of Peace"
- Wings (1) "Mull Of Kintyre/Girls' School"
- with Stevie Wonder (1) "Ebony And Ivory"
- with The Christians, Holly Johnson, Gerry Marsden, Stock Aitken & Waterman (1) "Ferry 'Cross The Mersey"
- as part of Ferry Aid (1) "Let It Be"
- as part of Band Aid (1) "Do They Know It's Christmas?"
- as part of Band Aid 20 (1) "Do They Know It's Christmas?"
- The Beatles (17).
[theofficialcharts.com/stats-most-no1.php] link no longer exists
http://www.everyhit.com/record1.html