Nearly 400 financial advisers surveyed at Bank of America’s Merrill Lynch unit said they prefer bonds and cash the most for investment portfolios, with stocks at a “distant third,” a report said Wednesday. Bonds as a share of portfolios climbed to 27% when the survey was conducted in late January and early February, up from 24% a year earlier. The average allocation to cash climbed to 10% from 7% a year ago, while stocks fell to 57% from 62%. But advisers were not bearish on the long-term outlook for stocks, with their outlook for the next 12 months the most bullish in the survey’s history. Nearly three-quarters (about 70%) expected “that the bear market will end in 1H or that the bear market is already over,” the report said. The survey only began in 2017, but analysts led by Bank of America equity and quantitative strategist Savita Subramanian said the bond allocation was at a record high for the survey while stocks were at a record low. Nearly two in five (39%) of advisers said “they are moving more into bonds,” with fewer than one in five (18%) moving more into stocks, the report said. With the excess cash generated in portfolios, 26% of advisors plan to buy stocks, down from 42% last year. Meanwhile, 29% intend to put the money into bonds and 30% “are happy to stay in cash.” The participating advisors—who have an average of 17 years of experience in the industry—favored value stocks over growth stocks, 78% to 12%, (the widest margin ever). They would also rather put clients in small stocks (46% bullish) than large caps (39%) or midcaps (36%). The biggest risks to the stock market in 2023 are recession (18%), central bank policy mistakes (17%) and geopolitics (15%), advisers said. A year ago, inflation was the biggest problem. Of the equity sectors, advisers preferred health care, energy and financials, and were most bearish on consumer affairs, real estate and technology. Investors may not want to bet against the top three industry groups this year. Bank of America said the top three favorite sectors have outperformed the bottom three by an average of 17 percentage points each year since the survey began. -CNBC’s Michael Bloom contributed to this story.