Lending to the most highly indebted companies in the U.S. and Europe is surging, a development that investors worry could pressure financial markets if the global economic expansion starts to fade.

Volume for these leveraged loans is up 53% this year in the U.S., putting it on pace to surpass the 2007 record of $534 billion, according to S&P Global Market Intelligence’s LCD unit.

In...